// $Id$
package cz.pd.projectbuilder.main.gui.panel;

import javax.swing.JPanel;
import javax.swing.border.Border;
import javax.swing.plaf.basic.BasicSplitPaneDivider;
import javax.swing.plaf.basic.BasicSplitPaneUI;

/**
 *
 * @author diblik
 * @version $Revision$
 */
public class ObsahPanel extends JPanel {

  /** Creates new form ObsahPanel */
  public ObsahPanel() {
    initComponents();
    jSplitPane1.setUI(new BasicSplitPaneUI() {

      @Override
      public BasicSplitPaneDivider createDefaultDivider() {
        return new BasicSplitPaneDivider(this) {

          @Override
          public void setBorder(Border b) {
          }
        };
      }
    });
    jSplitPane1.setBorder(null);
  }

  /** This method is called from within the constructor to
   * initialize the form.
   * WARNING: Do NOT modify this code. The content of this method is
   * always regenerated by the Form Editor.
   */
  @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    jSplitPane1 = new javax.swing.JSplitPane();
    projektyFrame1 = new cz.pd.projectbuilder.main.gui.panel.ProjektyPanel();
    outputFrame1 = new cz.pd.projectbuilder.main.gui.panel.OutputPanel();

    setLayout(new java.awt.GridBagLayout());

    jSplitPane1.setBorder(null);
    jSplitPane1.setDividerSize(4);
    jSplitPane1.setName("jSplitPane1"); // NOI18N

    projektyFrame1.setName("projektyFrame1"); // NOI18N
    jSplitPane1.setLeftComponent(projektyFrame1);

    outputFrame1.setName("outputFrame1"); // NOI18N
    jSplitPane1.setRightComponent(outputFrame1);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    add(jSplitPane1, gridBagConstraints);
  }// </editor-fold>//GEN-END:initComponents
  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JSplitPane jSplitPane1;
  private cz.pd.projectbuilder.main.gui.panel.OutputPanel outputFrame1;
  private cz.pd.projectbuilder.main.gui.panel.ProjektyPanel projektyFrame1;
  // End of variables declaration//GEN-END:variables
}
